import { postRequest, getRequest } from '/@/lib/axios';

export const studentScheduleApi = {

    /**
     * 分页查询  @author  fwj
     */
    queryPage : (param) => {
        return postRequest('/studentSchedule/queryPage', param);
    },
    /**
     * 获取轮转表列表  @author  fwj
     */
    getList: (param) => {
        return postRequest('/studentSchedule/list', param);
    },
    /**
     * 增加  @author  fwj
     */
    add: (param) => {
        return postRequest('/studentSchedule/add', param);
    },

    /**
     * 修改  @author  fwj
     */
    update: (param) => {
        return postRequest('/studentSchedule/update', param);
    },


    /**
     * 删除  @author  fwj
     */
    delete: (id) => {
        return getRequest(`/studentSchedule/delete/${id}`);
    },

    /**
     * 批量删除  @author  fwj
     */
    batchDelete: (idList) => {
        return postRequest('/studentSchedule/batchDelete', idList);
    },

};
